package net.lanelife.casino.caipiao.dto.admin;

import java.util.Date;

import net.lanelife.casino.caipiao.entity.QuotaRecord.Direction;
import net.lanelife.casino.caipiao.entity.QuotaRecord.Type;
import net.lanelife.casino.common.dto.PersistentDTO;

import com.fasterxml.jackson.annotation.JsonFormat;

public class QuotaRecordDTO extends PersistentDTO<Integer> {

	private static final long serialVersionUID = -9158541281195458331L;

	private Integer id;
	
	private String userName;
	
	private String childName;
	
	private Double beginRebatePoint;
	
	private Double endRebatePoint;
	
	private Long quota;
	
	private Direction direction;
	
	private Type type;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createdDate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getChildName() {
		return childName;
	}

	public void setChildName(String childName) {
		this.childName = childName;
	}

	public Double getBeginRebatePoint() {
		return beginRebatePoint;
	}

	public void setBeginRebatePoint(Double beginRebatePoint) {
		this.beginRebatePoint = beginRebatePoint;
	}

	public Double getEndRebatePoint() {
		return endRebatePoint;
	}

	public void setEndRebatePoint(Double endRebatePoint) {
		this.endRebatePoint = endRebatePoint;
	}

	public Long getQuota() {
		return quota;
	}

	public void setQuota(Long quota) {
		this.quota = quota;
	}

	public Direction getDirection() {
		return direction;
	}

	public void setDirection(Direction direction) {
		this.direction = direction;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}
	
}
